package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.Users;
import com.youlai.boot.factory.model.form.UsersForm;

/**
 * 服装厂用户对象转换器
 *
 * @author youlaitech
 * @since 2025-07-14 19:43
 */
@Mapper(componentModel = "spring")
public interface UsersConverter{

    UsersForm toForm(Users entity);

    Users toEntity(UsersForm formData);
}